﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/SiteMaster.master" CodeBehind="EditTask.aspx.cs"
    Inherits="CivilleWebRole.EditTask" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .style1
        {
            height: 14px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="BodyContent" runat="Server">
    <table style="width: 100%;">
        <tr>
            <td>
                &nbsp;
                <asp:Label ID="TitleLbl" runat="server" Text="Title"></asp:Label>
            </td>
            <td>
                &nbsp;
                <asp:TextBox ID="TitleTxt" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="TitleRequired" runat="server" ControlToValidate="TitleTxt"
                    CssClass="failureNotification" ErrorMessage="Title is required." ToolTip="Title is required."
                    ValidationGroup="EditTaskValidationGroup"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;
                <asp:Label ID="DescriptionLbl" runat="server" Text="Description"></asp:Label>
            </td>
            <td class="style1">
                &nbsp;
                <asp:TextBox ID="DescriptionTxt" runat="server" TextMode="MultiLine" Height="97px"
                    Width="331px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="DescriptionRequired" runat="server" ControlToValidate="DescriptionTxt"
                    CssClass="failureNotification" ErrorMessage="Description is required." ToolTip="Description is required."
                    ValidationGroup="EditTaskValidationGroup"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;
                <asp:Label ID="LatitudeLbl" runat="server" Text="Latitude"></asp:Label>
            </td>
            <td class="style1">
                &nbsp;
                <asp:TextBox ID="LatitudeTxt" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="LatitudeRequired" runat="server" ControlToValidate="LatitudeTxt"
                    CssClass="failureNotification" ErrorMessage="Latitude is required." ToolTip="Latitude is required."
                    ValidationGroup="EditTaskValidationGroup"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;
                <asp:Label ID="LongitudeLbl" runat="server" Text="Longitude"></asp:Label>
            </td>
            <td class="style1">
                &nbsp;
                <asp:TextBox ID="LongitudeTxt" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="LongitudeRequired" runat="server" ControlToValidate="LongitudeTxt"
                    CssClass="failureNotification" ErrorMessage="Longitude is required." ToolTip="Longitude is required."
                    ValidationGroup="EditTaskValidationGroup"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;
                <asp:Label ID="PointsLbl" runat="server" Text="Points"></asp:Label>
            </td>
            <td class="style1">
                &nbsp;
                <asp:TextBox ID="PointsTxt" runat="server"></asp:TextBox>
                &nbsp;
                <asp:TextBox ID="PointsTxt_BoundControl" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="PointsRequired" runat="server" ControlToValidate="PointsTxt"
                    CssClass="failureNotification" ErrorMessage="Points is required." ToolTip="Points is required."
                    ValidationGroup="EditTaskValidationGroup"></asp:RequiredFieldValidator>
                &nbsp;&nbsp;&nbsp;
                <asp:SliderExtender ID="SliderExtender" runat="server" Maximum="50" Steps="11" TooltipText="Points are required."
                    BehaviorID="PointsTxt" TargetControlID="PointsTxt" BoundControlID="PointsTxt_BoundControl"
                    EnableHandleAnimation="true">
                </asp:SliderExtender>
            </td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;
                <asp:Label ID="LogoLbl" runat="server" Text="Logo"></asp:Label></td>
            <td class="style1">
                &nbsp;
                <asp:FileUpload ID="FileUpload" runat="server" />
                <asp:Label ID="StatusLabel" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;
            </td>
            <td class="style1">
                &nbsp;
                <asp:Button ID="SaveTaskBtn" runat="server" Text="Save" OnClick="SaveTaskButtonClick"
                    ValidationGroup="EditTaskValidationGroup" />
            </td>
        </tr>
    </table>
</asp:Content>
